-- GENERATED SPELL FOR [Vicious Grell] --


function spell0_2005(pUnit, Event) --@Savagery,Self--
pUnit:FullCastSpellOnTarget(5515,pUnit)
pUnit:RegisterEvent('Sorts_2005', 8251, 1)
end

function Sorts_2005(pUnit, Event)
local choix_sorts_2005 = math.random(0, 0)
if choix_sorts_2005 == 0 then
pUnit:RegisterEvent('spell0_2005', 1, 1)
end
end

function mob2005_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2005', math.random(1500, 3000), 1)
end

function mob2005_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2005_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2005_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2005, 1, 'mob2005_Action')
RegisterUnitEvent(2005, 2, 'mob2005_Leave')
RegisterUnitEvent(2005, 3, 'mob2005_Kill')
RegisterUnitEvent(2005, 4, 'mob2005_Die')
